package cn.xfdzx.android.apps.shop.model;


import cn.xfdzx.android.apps.shop.bean.ShopInDetailsBeen;
import cn.xfdzx.android.apps.shop.bean.StoreAmountBean;
import cn.xfdzx.android.apps.shop.contract.MyShopCenterContract;
import cn.xfdzx.android.apps.shop.net.RetrofitClient;
import io.reactivex.Flowable;

/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */
public class ShopInDetailsModel implements MyShopCenterContract.Model {



    @Override
    public Flowable<ShopInDetailsBeen> shop_in_details( ) {
        return RetrofitClient.getInstance().getApi().store_details( );
    }

    @Override
    public Flowable<StoreAmountBean> getStoreAmount(String store_id) {
        return RetrofitClient.getInstance().getApi().getStoreAmount(store_id );
    }
}
